<style>
    table{
        width: 500px;
        height: 100px;
        text-align: center;

    }
    img{
        width: 50px;
        height: 50px;
    }
    td,th{
        text-align: center;
    }


</style>


<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <h4>用户信息:</h4>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('用户昵称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nickname" data-rule="required" class="form-control" name="row[nickname]" type="text" value="{$usermodel.nickname}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('绑定手机号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$usermodel.mobile}" disabled>
        </div>
    </div>
    <br>
    <h4>订单信息:</h4>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('商品单号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_no" data-rule="required" class="form-control" name="row[order_no]" type="text" value="{$orderObj.order_no}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('快递单号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-delivery_no" data-rule="required" class="form-control" name="row[delivery_no]" type="text" value="{$logisticsModel.delivery_no}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('快递公司')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-delivery_id" data-rule="required" class="form-control" name="row[delivery_id]" disabled>
                {foreach name="expressObj" item="vo"}
                <option  value="{$vo.id}"  {in name="key" value="$logisticsModel.delivery_id"}selected{/in}>{$vo.name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('实际支付金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_price" data-rule="required" class="form-control" name="row[pay_price]" type="text" value="{$orderObj.pay_price}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('支付邮费')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_postage" data-rule="required" class="form-control" name="row[pay_postage]" type="text" value="{$orderObj.pay_postage}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('订单创建时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createtime" data-rule="required" class="form-control"  name="row[createtime]" data-date-format="YYYY-MM-DD HH:mm:ss" type="text" value="{$orderObj.createtime|datetime}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('支付时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_time" data-rule="required" class="form-control" name="row[pay_time]" data-date-format="YYYY-MM-DD HH:mm:ss" type="text" value="{$orderObj.pay_time|datetime}" disabled>
        </div>
    </div>

    <br>

    <h4>退款信息:</h4>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('退款快递单号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_express_no" data-rule="required" class="form-control" name="row[refund_express_no]" type="text" value="{$refundMode.refund_express_no}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('退款用户说明')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_reason" data-rule="required" class="form-control" name="row[refund_reason]" type="text" value="{$refundMode.refund_reason}" disabled>
        </div>
    </div>

    <br>
    <h4>收货信息:</h4>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('收货人')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-real_name" data-rule="required" class="form-control" name="row[real_name]" type="text" value="{$orderObj.real_name}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('收货电话')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_phone" data-rule="required" class="form-control" name="row[user_phone]" type="text" value="{$orderObj.user_phone}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('收货地址')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_address" data-rule="required" class="form-control" name="row[user_address]" type="text" value="{$orderObj.user_address}" disabled>
        </div>
    </div>

    <br>
    <h4>商品信息:</h4>
    <div style="text-align: center;">
        <table border="1" cellpadding="0" style="margin: auto;">
            <tr>
                <th>商品名称</th>
                <th>商品图片</th>
                <th>价格</th>
                <th>数量</th>
                <th>支付金额</th>
            </tr>
            {foreach name="goodsObj" item="vo"}
            <tr>
                <td>{$vo.goods_name}</td>
                <td><img src="{$vo.goods_image}" alt=""></td>
                <td>{$vo.goods_price}</td>
                <td>{$vo.goods_num}</td>
                <td>{$vo.pay_price}</td>
            </tr>
            {/foreach}
        </table>
    </div>
</form>
